package main;
import arbore.*;
import visitors.*;
public class Main {
	public static void main(String[] args){
		Frunza a=new Frunza(5);
		Frunza b=new Frunza(7);
		Nod r=new Nod(2,a,b);
		Arbore arb=new Arbore(r);
		Visitor v1=new PostordineVisitor();
		arb.acceptVisitor(v1);
	}
}
